package alipay

import (
	"github.com/iGoogle-ink/gopay"
)

func InitSet() *gopay.BodyMap {
	return &gopay.BodyMap{}
}

// 设置请求结构体
func Set(sets map[string]interface{}) *gopay.BodyMap {
	body := InitSet()
	for k, v := range sets {
		body.Set(k, v)
	}
	return body
}